/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Beans;

import java.text.SimpleDateFormat;
import java.util.ArrayList;

/**
 *
 * @author USUARIO//
 */
public class NewMain {

    
    public static void main(String[] args) {
       
        ModIti_Itinerario it = new ModIti_Itinerario();
        ArrayList<ModIti_Itinerario> listHo = new ArrayList<ModIti_Itinerario>();
        listHo = it.listarItinerarios();
        String h = null;
        SimpleDateFormat sdf = new SimpleDateFormat("HH:mm");
        for(int i=0; i<listHo.size(); i++)
        {
            h = sdf.format(listHo.get(i).getHorasalida().getTime());
            System.out.println(h);
        }
      
       
        
    }
    
}
